﻿using System;
using NTQOnlineExam.Services.CommandService.Baskets;
using NTQOnlineExam.Services.EntityFW.Entity;

namespace NTQOnlineExam.Services.CommandService
{
    public interface IBasketCommandService
    {
        Basket GetBasketById(Guid basketId);
        Basket GetCurrentBasket();
        bool AddTerm(int termId, string comment, out string message);
        bool RemoveBasketItem(Guid itemId);

        bool Checkout(CheckoutCommand command, out string message);
    }
}
